<script lang="ts" setup>
  import { useAttrs } from 'vue';
  import { DatePicker } from 'ant-design-vue';

  const attrs = useAttrs();
</script>

<template>
  <DatePicker
    v-bind="attrs"
    :get-popup-container="(trigger) => (trigger.parentNode as any)"
  ></DatePicker>
</template>
